package com.work.studio.constracts;

import android.content.Context;

import com.work.studio.entitys.AttendanceStatisticsEntity;
import com.work.studio.entitys.CustomerEntity;
import com.work.studio.entitys.CustomerSignEntity;
import com.work.studio.entitys.CustomerVisitRntity;
import com.work.studio.entitys.DailyFinishEntity;
import com.work.studio.entitys.RankingEntity;

import java.util.List;


public class MainContract {


    public interface Presenter {

        void initThreadPool(Context context);

        void stopPool();
    }

    public interface View {

        void onTimePool();

        void onCustomerVisitorSuccess(List<CustomerVisitRntity> customerVisitRntities);

        void onCustomerRecycle(List<CustomerSignEntity.CustomerReturnListBean> customerReturnListBeans);

        void onTodaySuccess(AttendanceStatisticsEntity attendanceStatisticsEntity);

        void onRankingSuccess(List<RankingEntity> rankingEntities);

        void onMapViewDatas(List<CustomerSignEntity.CustomerReturnListBean> customerReturnList);

        void onFinishSuccess(DailyFinishEntity content);

        void permissionSuc();

        Context getContext();

        void onRequestCustomer(CustomerEntity customerEntity);
    }
}
